package com.yugao.fintech.antelope.base.config.core;

import lombok.Getter;
import org.springframework.cloud.bus.event.Destination;
import org.springframework.cloud.bus.event.RemoteApplicationEvent;

public class RemoteConfigEvent extends RemoteApplicationEvent {
    @Getter
    private String message;

    public RemoteConfigEvent() {
        super();
    }

    public RemoteConfigEvent(Object source, String originService, Destination destination, String message) {
        super(source, originService, destination);
        this.message = message;
    }
}
